package com.sptpc.demo.global.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BusinessStatusCode {
    SUCCESS(200,"操作成功"),
    FAILURE(-1,"操作失败"),
    DRINK_NOT_FOUND(1001,"找不到饮品"),
    UNKNOW_ERROR(1002,"未知错误");

    private final Integer code;
    private final String msg;
}
